#!/usr/bin/env python
'''
    your explanation
'''
__AUTHOR__ = 'unknown'

import sys
import logging
from optparse import OptionParser
from os.path import basename

options = {}
args = ()
logfile = ''

def init_options():
    '''
        initial global variables `options' and `args'
    '''
    usage = '%prog [options] args'
    parser = OptionParser(usage = usage)
    global options, args
    options, args = parser.parse_args()

def init_globals():
    '''
        set `log'
    '''
    global logfile
    logfile = options.logfile

def main():
    init_options()
    init_globals()

if __name__ == '__main__':
    main()
